#!/usr/bin/env python3
# Copyright (C) 2024 Checkmk GmbH - License: GNU General Public License v2
# This file is part of Checkmk (https://checkmk.com). It is subject to the terms and
# conditions defined in the file COPYING, which is part of this source code package.

import sys

try:
    from cmk.plugins.otel.special_agents.cce.agent_otel import (  # type: ignore[import-untyped,unused-ignore]
        main,
    )
except ImportError:

    def main() -> int:
        sys.stderr.write("OpenTelementry integration is not available in this edition of Checkmk\n")
        return 1


if __name__ == "__main__":
    sys.exit(main())
